package com.wu.project.admin.entity;

/**
 * @author xuan
 */
public class UserViewDataEntity {

    private Long userId;

    private String username;

    private String nickName;

    private String role;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public UserViewDataEntity(Long userId, String username, String nickName, String role) {
        this.userId = userId;
        this.username = username;
        this.nickName = nickName;
        this.role = role;
    }

    public UserViewDataEntity() {
    }

    @Override
    public String toString() {
        return "UserViewDataEntity{" +
                "userId=" + userId +
                ", username='" + username + '\'' +
                ", nickName='" + nickName + '\'' +
                ", role='" + role + '\'' +
                '}';
    }
}
